<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Adds javascript code to be executed when Acrobat opens the FDF</title>
 </head>
 <body class="docs"><div id="layout">
  <div id="layout-content"><div id="function.fdf-set-on-import-javascript" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">fdf_set_on_import_javascript</h1>
  <p class="verinfo">(PHP 4 &gt;= 4.3.0, PHP 5, PHP 7)</p><p class="refpurpose"><span class="refname">fdf_set_on_import_javascript</span> &mdash; <span class="dc-title">Adds javascript code to be executed when Acrobat opens the FDF</span></p>

 </div>
 
 <div class="refsect1 description" id="refsect1-function.fdf-set-on-import-javascript-description">
  <h3 class="title">说明</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>fdf_set_on_import_javascript</strong></span>
    ( <span class="methodparam"><span class="type">resource</span> <code class="parameter">$fdf_document</code></span>
   , <span class="methodparam"><span class="type">string</span> <code class="parameter">$script</code></span>
   , <span class="methodparam"><span class="type">bool</span> <code class="parameter">$before_data_import</code></span>
   ) : <span class="type">bool</span></div>

  <div class="warning"><strong class="warning">Warning</strong><p class="simpara">本函数还未编写文档，仅有参数列表。</p></div>
 </div>


 <div class="refsect1 seealso" id="refsect1-function.fdf-set-on-import-javascript-seealso">
  <h3 class="title">参见</h3>
  <p class="para">
   <ul class="simplelist">
    <li class="member"><span class="function"><a href="fdf_add_doc_javascript.html" class="function" rel="rdfs-seeAlso">fdf_add_doc_javascript()</a> - Adds javascript code to the FDF document</span></li>
    <li class="member"><span class="function"><a href="fdf_set_javascript_action.html" class="function" rel="rdfs-seeAlso">fdf_set_javascript_action()</a> - Sets an javascript action of a field</span></li>
   </ul>
  </p>
 </div>


</div></div></div></body></html>